package com.shunli.cterminal.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.examples.core.mybatis.base.BaseSafeEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 *
 * @author DaiYaLu
 */
@Data
@TableName("collection_template_detail")
@EqualsAndHashCode(callSuper = true)
public class CollectionTemplateDetail extends BaseSafeEntity {

    /**
     * ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 模板ID
     */
    private Long templateId;

    /**
     * 页面编码
     * home-首页
     * order-订单查询
     * yuncheng-今日运程
     */
    private String styleCode;

    /**
     * 页面信息
     */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String styleInfo;

    /**
     * 背景颜色
     */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String backgroundColor;

    /**
     * 备注
     */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String remark;

    /**
     * 排序
     */
    private Integer sort;

}